package org.colafries.admin.querybuilder.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Ann
 * @version v1.0
 * @ClassName ExpressionEntity
 * @Description
 * @date Created in 2024/6/26
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AggFunctionContext {
    @ApiModelProperty(value = "表达式解析出的聚合函数",example = "聚合函数 COUNT SUM等")
    private String aggFunction;

    @ApiModelProperty(value = "表达式解析出的列表达式",example = "COUNT({code1}}) --> {code1}")
    private String columnExpression;
}
